package com.buba.service;

import entity.sparemanage.SpareTypes;
import com.baomidou.mybatisplus.extension.service.IService;
import entity.sparemanage.dto.selAllSpareTypesByLimitDto;
import utils.PageResult;

import java.util.List;

/**
 * <p>
 * 备件类型 服务类
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
public interface SpareTypesService extends IService<SpareTypes> {

    /* *
     * @Author: beisheng
     * @Descriprion: 树形查询备件类型
     * @Date: 2023/5/19 15:20
     * @Return: common.R
     * @Param: []
     */

    List<SpareTypes> selAllSpareType();

    /* *
     * @Author: beisheng
     * @Descriprion: 分页模糊查寻备件类型
     * @Date: 2023/6/1 15:10
     * @Return: common.R
     * @Param: [typesByLimitDto]
     */

    PageResult selAllSpareTypesByLimit(selAllSpareTypesByLimitDto typesByLimitDto);
}
